﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace 完工订单定时任务.models.plcmodel
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("ncmaterialout")]
    public partial class ncmaterialout
    {
           public ncmaterialout(){


           }
           /// <summary>
           /// Desc:PLC母卷号
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string guid {get;set;}

           /// <summary>
           /// Desc:生产订单号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string vbillcode {get;set;}

           /// <summary>
           /// Desc:产线编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string lineno {get;set;}

           /// <summary>
           /// Desc:批号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string batch_num {get;set;}

           /// <summary>
           /// Desc:物料id
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string pk_material {get;set;}

           /// <summary>
           /// Desc:物料编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string materialCode {get;set;}

           /// <summary>
           /// Desc:物料名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string materialName {get;set;}

           /// <summary>
           /// Desc:规格
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string spec {get;set;}

           /// <summary>
           /// Desc:NC现存重量
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? NCStockQuantity {get;set;}

           /// <summary>
           /// Desc:PLC用量
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? PLCQuantity {get;set;}

           /// <summary>
           /// Desc:推送nc用量
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? ActualQuantity {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string resultcode {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string resultdescription {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string content {get;set;}

           /// <summary>
           /// Desc:单据日期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? bus_date {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? createTime {get;set;}

           /// <summary>
           /// Desc:NC现存量结果
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string NCStockCheck {get;set;}

    }
}
